/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package saarosher.delegate;

import javax.naming.NamingException;
import saarosher.facade.SAARosherFacadeLocal;
import saarosher.service.SAARosherServiceLocator;

/**
 *
 * @author Miguel
 */
public class SAARosherDelegate {

    private SAARosherFacadeLocal sfl;

    public SAARosherDelegate() {
        try{
            sfl = (SAARosherFacadeLocal)(SAARosherServiceLocator.getInstance().lookup("Rosher/SAARosherFacade/local"));
        }catch(NamingException ne){
            ne.printStackTrace();
        }
    }

}
